<template>
	<div>
		<n-button @click="test">123</n-button>
	</div>
</template>

<script lang="ts" setup>
import { useCookies } from '@vueuse/integrations/useCookies';
const { get, getAll, set, remove, addChangeListener, removeChangeListener } = useCookies();
function test() {
	// set('test', {
	// 	name: '1',
	// 	age: 12,
	// 	sex: '男',
	// 	isLogin: true,
	// });
	console.log(get('ims_userInfo'));
}
</script>

<style lang="scss" scoped></style>
